home *** CD-ROM | disk | FTP | other *** search
- Path: fido.asd.sgi.com!austern
- From: vandevod@cs.rpi.edu (David Vandevoorde)
- Newsgroups: comp.std.c++
- Subject: Re: sample auto_ptr template
- Date: 08 Apr 1996 10:15:07 PDT
- Organization: RPI Computer Science
- Approved: austern@isolde.mti.sgi.com
- Message-ID: <xsog2ahnixm.fsf@avs.cs.rpi.edu>
- References: <009A04DA6A831C40.49800EAC@ittpub.nl> <4jucle$i41@bmtlh10.bnr.ca>
- <gregorDpFBCt.A5@netcom.com>
- NNTP-Posting-Host: isolde.mti.sgi.com
- X-Original-Date: 06 Apr 1996 17:25:57 -0400
- In-Reply-To: gregor@netcom.com's message of 06 Apr 1996 11:33:51 PST
- X-Newsreader: Gnus v5.1
- X-Auth: PGPMoose V1.1 PGP comp.std.c++
- iQBVAwUBMWlJnEy4NqrwXLNJAQEbagH/c9AX4tkOIg7e9Htan+tJi4mEQ+1D1coZ
- m+JYSc4dpyXRaEmUbAGEsJYI9eLZIqUAT/vz6Ca034oEQ8VqRHVLlw==
- =Ohtf
- Originator: austern@isolde.mti.sgi.com
-
- >>>>> "GC" == Greg Colvin <gregor@netcom.com> writes:
- [...]
- GC> * Should auto_ptr have an operator-> ? A proposal to add one was
- nearly accepted at Santa Cruz, but was withdrawn when the
- prerequisite extension failed.
- [...]
-
- I believe you meant to say `operator->*'.
-
- The `extension' was to add a unary `operator->*' with essentially the
- same rules as `operator->()'; with the binary operator->*, it is not
- possible to provide a general mechanism equivalent to that of built-in
- pointers (you could only overload operator->* for pointer to member
- functions with a predetermined limit on the number of parameters).
-
- Daveed
- ---
- [ comp.std.c++ is moderated. To submit articles: Try just posting with your
- newsreader. If that fails, use mailto:std-c++@ncar.ucar.edu
- comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
- Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
- Comments? mailto:std-c++-request@ncar.ucar.edu
- ]
-